package com.aos.erp.gov.ex.enums;

import com.baomidou.mybatisplus.core.enums.IEnum;

import java.io.Serializable;

public enum RegisterTaskStatus implements IEnum {

    none(0, "未处理"),
    submitted(1, "已经上传"),
    success(2, "审批通过"),
    failed(3, "审批失败");


    private int value;
    private String desc;

    RegisterTaskStatus(final int value, final String desc) {
        this.value = value;
        this.desc = desc;
    }

    @Override
    public Serializable getValue() {
        return this.value;
    }


    public String getDesc() {
        return this.desc;
    }

    }
